package com.ktgj.flight.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 出票渠道规定主对象 flight_channel_rule
 * 
 * @author ruoyi
 * @date 2021-12-23
 */
public class FlightChannelRule implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long ruleId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String airlinerId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String peksourcetype;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remotesourcetype;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date starttime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long employeeid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date operationtime;

    /** 注释：1不需要生成，2需要生成 */
    @Excel(name = "注释：1不需要生成，2需要生成")
    private Long isCreatePnr;

    /** 北京出票渠道出票模式：1自动，2手工 */
    @Excel(name = "北京出票渠道出票模式：1自动，2手工")
    private Long isPekModel;

    /** 异地航班出票_渠道出票模式：1自动，2手工 */
    @Excel(name = "异地航班出票_渠道出票模式：1自动，2手工")
    private Long isRemoteModel;

    /** 舱位 暂时未启用 */
    @Excel(name = "舱位 暂时未启用")
    private String cabin;

    /** 具体的出票渠道枚举 BSP 航协，德付通，B2B 易宝，汇付 */
    @Excel(name = "具体的出票渠道枚举 BSP 航协，德付通，B2B 易宝，汇付")
    private String ticketWay;

    /** 是否生成pnr */
    @Excel(name = "是否生成pnr")
    private String pnr;

    public String getTicketWay() {
        return ticketWay;
    }

    public void setTicketWay(String ticketWay) {
        this.ticketWay = ticketWay;
    }

    public String getPnr() {
        return pnr;
    }

    public void setPnr(String pnr) {
        this.pnr = pnr;
    }

    public void setRuleId(Long ruleId)
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setAirlinerId(String airlinerId) 
    {
        this.airlinerId = airlinerId;
    }

    public String getAirlinerId() 
    {
        return airlinerId;
    }

    public String getPeksourcetype() {
        return peksourcetype;
    }

    public void setPeksourcetype(String peksourcetype) {
        this.peksourcetype = peksourcetype;
    }

    public String getRemotesourcetype() {
        return remotesourcetype;
    }

    public void setRemotesourcetype(String remotesourcetype) {
        this.remotesourcetype = remotesourcetype;
    }

    public void setStarttime(Date starttime)
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setEmployeeid(Long employeeid) 
    {
        this.employeeid = employeeid;
    }

    public Long getEmployeeid() 
    {
        return employeeid;
    }
    public void setOperationtime(Date operationtime) 
    {
        this.operationtime = operationtime;
    }

    public Date getOperationtime() 
    {
        return operationtime;
    }
    public void setIsCreatePnr(Long isCreatePnr) 
    {
        this.isCreatePnr = isCreatePnr;
    }

    public Long getIsCreatePnr() 
    {
        return isCreatePnr;
    }
    public void setIsPekModel(Long isPekModel) 
    {
        this.isPekModel = isPekModel;
    }

    public Long getIsPekModel() 
    {
        return isPekModel;
    }
    public void setIsRemoteModel(Long isRemoteModel) 
    {
        this.isRemoteModel = isRemoteModel;
    }

    public Long getIsRemoteModel() 
    {
        return isRemoteModel;
    }
    public void setCabin(String cabin) 
    {
        this.cabin = cabin;
    }

    public String getCabin() 
    {
        return cabin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("airlinerId", getAirlinerId())
            .append("peksourcetype", getPeksourcetype())
            .append("remotesourcetype", getRemotesourcetype())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("employeeid", getEmployeeid())
            .append("operationtime", getOperationtime())
            .append("isCreatePnr", getIsCreatePnr())
            .append("isPekModel", getIsPekModel())
            .append("isRemoteModel", getIsRemoteModel())
            .append("cabin", getCabin())
            .toString();
    }
}
